package dao;

import java.util.List;

import entity.Department;

public interface DepartmentDao {
	
	public List<Department> queryAll();

	public int calCount();

	public List<Department> findByPage(int begin, int pageSize);

	public void save(Department department);

	public Department findById(Integer did);

	public void update(Department department);

	public void delete(Department department);

	public List<Department> findAll();
}
